package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
*
*
* @author quan
* @date 2022-01-30 18:59
*/
 

@Data
@TableName(value = "t_app_version")
public class TAppVersion {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * app版本code
     */
    @ApiModelProperty("app版本code")
    @TableField(value = "version")
    private String version;

    /**
     * 1-Android,2-ios
     */
    @TableField(value = "system_type")
    private Byte systemType;

    /**
     * 类型：1-趣单,2-
     */
    @ApiModelProperty("app_type")
    @TableField(value = "app_type")
    private Byte appType;

    /**
     * 下载链接
     */
    @ApiModelProperty("下载链接")
    @TableField(value = "download_url")
    private String downloadUrl;

    /**
     * 是否强制升级:1-是，2-否
     */
    @ApiModelProperty("是否强制升级:1-是，2-否")
    @TableField(value = "if_force_upgrade")
    private Byte ifForceUpgrade;

    /**
     * 更新说明
     */
    @ApiModelProperty("更新说明")
    @TableField(value = "upgrade_desc")
    private String upgradeDesc;

    /**
     * 状态:0-失效,1-生效
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
     * 上次修改时间
     */
    @TableField(value = "last_modify_time")
    private Date lastModifyTime;

    /**
     * 上次修改人
     */
    @TableField(value = "last_modify_user_id")
    private Long lastModifyUserId;
}